package model.xpdl2{
	
	import mx.collections.ArrayList;
	
	public class Transitions{
		
		private var transitions:ArrayList;
		
		public function Transitions(){
			
			transitions=new ArrayList();
			
		}
		
		public function genXML():String{
			
			var xml:String;
			var nspre:String="xpdl2";
			
			xml="<"+nspre+":Transitions>";
			/**
			 * 遍历List, 生成transition xml block 
			 * */
			xml+="</"+nspre+":Transitions>";
			
			return xml;
			
		}
		
		public function getTransitions():ArrayList{
			return this.transitions;
		}

	}
}